package seiacpjava_a2.datastructures.linkedlist;

class ListNode {
    
	public int item;
   
    private ListNode nextNode;

    public ListNode(int item) {
	    this.item = item;
	   
    }

	public ListNode getNextNode() {
		return nextNode;
	}

	public void setNextNode(ListNode nextNode) {
		this.nextNode = nextNode;
	}

	public int getItem() {
		return item;
	}

	public void setItem(int item) {
		this.item = item;
	}
}